package com.ruoyi.system.domain;

import lombok.Data;

/**
 * 关联表 景点与路线
 */
@Data
public class RelSightRoute {

    private int routeId;
    private TourRoute route;
    private int sightId;
    private TourSight sight;
    private int priority;

    public RelSightRoute() {
    }

    /**
     * @param routeId 路线id
     * @param sightId 景点id
     * @param priority 次序
     */
    public RelSightRoute(int routeId, int sightId, int priority) {
        this.routeId = routeId;
        this.sightId = sightId;
        this.priority = priority;
    }
}
